﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ChessSuite.Utilities.Common.Enumeations;

namespace ChessSuite.Utilities.Common.Utilities
{
    public static partial class PieceTypeUtility
    {
        /*public static IEnumerable<PieceType> Merge(this PieceType first, PieceType second)
        {
            return EnumerationUtility.PairAsEnumerable(first, second).IndividualPieces().Compress();
        }

        public static IEnumerable<PieceType> Merge(this PieceType first, IEnumerable<PieceType> second)
        {
            return EnumerationUtility.SingleAsEnumerable(first).Concat(second);
        }

        public static IEnumerable<PieceType> Merge(this IEnumerable<PieceType> first, PieceType second)
        {
            return first.Concat(EnumerationUtility.SingleAsEnumerable(second));
        }*/

        public static IEnumerable<PieceType> Merge(this IEnumerable<PieceType> first, IEnumerable<PieceType> second)
        {
            return first.Concat(second);
        }
    }
}
